<div id="mod-function-box">
    <div class="button_base">

        <button class="layui-btn layui-btn-xs layui-btn-disabled" id="shanchu"
              disabled onclick="mulity_delete('data_mulity_delete_process')">
            <i class="layui-icon">&#xe640;</i>删除
        </button>


        <button type="button" class="layui-btn layui-btn-xs " onclick="category_expand_all()">全部展开</button>
        <button type="button" class="layui-btn layui-btn-xs " onclick="category_collapse_all()">全部收起</button>


    </div>

    <div class="button_sort">
        <a class="layui-btn layui-btn-xs
            <?if(
                (($_REQUEST['sortorder']!='desc') or
                    ($_REQUEST['sortby']!='nid')) and
                ($_REQUEST['sortby']!='')
            ){echo 'layui-btn-primary';}?>
            " href="category_list.php?<?echo $url_parameter?>&sortby=nid&sortorder=desc">
            录入降序 <i class="fa fa-caret-down" aria-hidden="true"></i>
        </a>
        <a class="layui-btn layui-btn-xs
            <?if(($_REQUEST['sortorder']!='asc') or ($_REQUEST['sortby']!='nid'))
            {echo 'layui-btn-primary';}?>
            " href="category_list.php?<?echo $url_parameter?>&sortby=nid&sortorder=asc">
            录入升序 <i class="fa fa-caret-up" aria-hidden="true"></i>
        </a>
        <a class="layui-btn layui-btn-xs
            <?if(($_REQUEST['sortorder']!='desc') or ($_REQUEST['sortby']!='name'))
            {echo 'layui-btn-primary';}?>
            " href="category_list.php?<?echo $url_parameter?>&sortby=name&sortorder=desc">
            标题降序 <i class="fa fa-caret-down" aria-hidden="true"></i>
        </a>
        <a class="layui-btn layui-btn-xs
            <?if(($_REQUEST['sortorder']!='asc') or ($_REQUEST['sortby']!='name'))
            {echo 'layui-btn-primary';}?>
            " href="category_list.php?<?echo $url_parameter?>&sortby=name&sortorder=asc">
            标题升序 <i class="fa fa-caret-up" aria-hidden="true"></i>
        </a>
    </div>
</div>
